/* 
 *  <copyright file="Trigger.cs" company="Wesley Jowitt">
 *  
 *  SobrietyEngine: Copyright (c) 2011 Wesley Jowitt
 *  
 *  This software is distributed under a software license.
 *   * As of the creation time of this file, the license in use is the Microsoft Permissive License (Ms-PL) 
 *    * The license can be viewed at:
 *     * License.Txt in the root folder of this project
 *      * http://sobrietyengine.codeplex.com/license
 *       * http://www.microsoft.com/opensource/licenses.mspx
 *       
 *  </copyright>
 *   */


using SobrietyEngine.Input;

namespace SobrietyEngine.Events.Input
{
    public class Trigger : BaseInput
    {
        GamepadEnums.GamepadButton button;
        public GamepadEnums.GamepadButton Button { get { return button; } set { } }

        float val;
        public float Val { get { return val; } set { } }

        public Trigger(IInputDevice device, GamepadEnums.GamepadButton _button, float _val)
            : base(device)
        {
            button = _button;
            val = _val;
        }

    }
}